home *** CD-ROM | disk | FTP | other *** search
/ Champak 33 / Volume 33 - JOGO DISK .iso / Games / puzzle_safari.swf / scripts / __Packages / Frame_class.as < prev    next >
Text File  |  2007-01-15  |  7KB  |  165 lines

  1. var ┬º\x01┬º = 48;
  2. if(eval("\x01") == 48)
  3. {
  4.    set("\x01",eval("\x01") - 30);
  5.    ┬º┬ºpush(true);
  6.    ┬º┬ºpush(false);
  7.    ┬º┬ºpush(false);
  8.    ┬º┬ºpush(true);
  9.    while(true)
  10.    {
  11.       if(┬º┬ºpop())
  12.       {
  13.       }
  14.       if(┬º┬ºpop())
  15.       {
  16.       }
  17.       if(┬º┬ºpop())
  18.       {
  19.          break;
  20.       }
  21.       ┬º┬ºpush(true);
  22.       ┬º┬ºpush(false);
  23.    }
  24.    if(!eval("\x01")["\x02"])
  25.    {
  26.       eval("\x01")["\x02"] extends eval(┬º┬ºconstant(10));
  27.       var _loc2_ = eval("\x01")["\x02"] = function()
  28.       {
  29.          super();
  30.          this[┬º┬ºconstant(5)](eval("\x04")[┬º┬ºconstant(4)],"\x03",2);
  31.          this[┬º┬ºconstant(9)](_root[┬º┬ºconstant(6)][this[┬º┬ºconstant(7)]][┬º┬ºconstant(8)]);
  32.       }[┬º┬ºconstant(11)];
  33.       _loc2_[┬º┬ºconstant(12)] = function()
  34.       {
  35.          if(eval("\x02")[┬º┬ºconstant(13)] == false)
  36.          {
  37.             if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)]][this[┬º┬ºconstant(16)] - 1] == 0)
  38.             {
  39.                this[┬º┬ºconstant(17)](this[┬º┬ºconstant(15)],this[┬º┬ºconstant(16)] - 1);
  40.             }
  41.             else if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)]][this[┬º┬ºconstant(16)] + 1] == 0)
  42.             {
  43.                this[┬º┬ºconstant(17)](this[┬º┬ºconstant(15)],this[┬º┬ºconstant(16)] + 1);
  44.             }
  45.             else if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)] - 1][this[┬º┬ºconstant(16)]] == 0)
  46.             {
  47.                this[┬º┬ºconstant(17)](this[┬º┬ºconstant(15)] - 1,this[┬º┬ºconstant(16)]);
  48.             }
  49.             else if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)] + 1][this[┬º┬ºconstant(16)]] == 0)
  50.             {
  51.                this[┬º┬ºconstant(17)](this[┬º┬ºconstant(15)] + 1,this[┬º┬ºconstant(16)]);
  52.             }
  53.          }
  54.       };
  55.       _loc2_[┬º┬ºconstant(17)] = function(newRow, newColumn)
  56.       {
  57.          _root[┬º┬ºconstant(6)][┬º┬ºconstant(19)][┬º┬ºconstant(20)](┬º┬ºconstant(18));
  58.          _root[┬º┬ºconstant(6)][┬º┬ºconstant(19)][┬º┬ºconstant(21)]();
  59.          _root[┬º┬ºconstant(6)][┬º┬ºconstant(22)]++;
  60.          _root[┬º┬ºconstant(23)][┬º┬ºconstant(24)](_root[┬º┬ºconstant(6)][┬º┬ºconstant(22)]);
  61.          eval("\x02")[┬º┬ºconstant(13)] = true;
  62.          this[┬º┬ºconstant(25)] = true;
  63.          _root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)]][this[┬º┬ºconstant(16)]] = 0;
  64.          _root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][newRow][newColumn] = this[┬º┬ºconstant(26)];
  65.          this[┬º┬ºconstant(15)] = newRow;
  66.          this[┬º┬ºconstant(16)] = newColumn;
  67.       };
  68.       _loc2_[┬º┬ºconstant(27)] = function(newRow, newColumn)
  69.       {
  70.          this[┬º┬ºconstant(28)] = _root[┬º┬ºconstant(6)][┬º┬ºconstant(29)] + _root[┬º┬ºconstant(6)][┬º┬ºconstant(30)] * newColumn;
  71.          this[┬º┬ºconstant(31)] = _root[┬º┬ºconstant(6)][┬º┬ºconstant(32)] + _root[┬º┬ºconstant(6)][┬º┬ºconstant(33)] * newRow;
  72.          _root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][newRow][newColumn] = this[┬º┬ºconstant(26)];
  73.          _root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)]][this[┬º┬ºconstant(16)]] = 0;
  74.          this[┬º┬ºconstant(15)] = newRow;
  75.          this[┬º┬ºconstant(16)] = newColumn;
  76.       };
  77.       _loc2_[┬º┬ºconstant(34)] = function()
  78.       {
  79.          if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)]][this[┬º┬ºconstant(16)] - 1] == 0)
  80.          {
  81.             this[┬º┬ºconstant(27)](this[┬º┬ºconstant(15)],this[┬º┬ºconstant(16)] - 1);
  82.          }
  83.          else if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)]][this[┬º┬ºconstant(16)] + 1] == 0)
  84.          {
  85.             this[┬º┬ºconstant(27)](this[┬º┬ºconstant(15)],this[┬º┬ºconstant(16)] + 1);
  86.          }
  87.          else if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)] - 1][this[┬º┬ºconstant(16)]] == 0)
  88.          {
  89.             this[┬º┬ºconstant(27)](this[┬º┬ºconstant(15)] - 1,this[┬º┬ºconstant(16)]);
  90.          }
  91.          else if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][this[┬º┬ºconstant(15)] + 1][this[┬º┬ºconstant(16)]] == 0)
  92.          {
  93.             this[┬º┬ºconstant(27)](this[┬º┬ºconstant(15)] + 1,this[┬º┬ºconstant(16)]);
  94.          }
  95.       };
  96.       _loc2_[┬º┬ºconstant(35)] = function()
  97.       {
  98.          var _loc4_ = false;
  99.          var _loc3_ = 0;
  100.          while(_loc3_ < _root[┬º┬ºconstant(6)][┬º┬ºconstant(36)] && _loc4_ == false)
  101.          {
  102.             var _loc2_ = 0;
  103.             while(_loc2_ < _root[┬º┬ºconstant(6)][┬º┬ºconstant(37)] && _loc4_ == false)
  104.             {
  105.                if(_root[┬º┬ºconstant(6)][┬º┬ºconstant(14)][_loc3_][_loc2_] != _root[┬º┬ºconstant(6)][┬º┬ºconstant(38)][_loc3_][_loc2_])
  106.                {
  107.                   _loc4_ = true;
  108.                }
  109.                _loc2_ = _loc2_ + 1;
  110.             }
  111.             _loc3_ = _loc3_ + 1;
  112.          }
  113.          if(_loc4_ == false)
  114.          {
  115.             _root[┬º┬ºconstant(6)][┬º┬ºconstant(39)] = true;
  116.             _root[┬º┬ºconstant(6)][┬º┬ºconstant(40)] = getTimer();
  117.          }
  118.       };
  119.       _loc2_[┬º┬ºconstant(41)] = function()
  120.       {
  121.          if(this[┬º┬ºconstant(25)] == true)
  122.          {
  123.             if(this[┬º┬ºconstant(28)] < _root[┬º┬ºconstant(6)][┬º┬ºconstant(29)] + _root[┬º┬ºconstant(6)][┬º┬ºconstant(30)] * this[┬º┬ºconstant(16)])
  124.             {
  125.                this[┬º┬ºconstant(28)] += 10;
  126.             }
  127.             if(this[┬º┬ºconstant(31)] < _root[┬º┬ºconstant(6)][┬º┬ºconstant(32)] + _root[┬º┬ºconstant(6)][┬º┬ºconstant(33)] * this[┬º┬ºconstant(15)])
  128.             {
  129.                this[┬º┬ºconstant(31)] += 10;
  130.             }
  131.             if(this[┬º┬ºconstant(28)] > _root[┬º┬ºconstant(6)][┬º┬ºconstant(29)] + _root[┬º┬ºconstant(6)][┬º┬ºconstant(30)] * this[┬º┬ºconstant(16)])
  132.             {
  133.                this[┬º┬ºconstant(28)] -= 10;
  134.             }
  135.             if(this[┬º┬ºconstant(31)] > _root[┬º┬ºconstant(6)][┬º┬ºconstant(32)] + _root[┬º┬ºconstant(6)][┬º┬ºconstant(33)] * this[┬º┬ºconstant(15)])
  136.             {
  137.                this[┬º┬ºconstant(31)] -= 10;
  138.             }
  139.             if(this[┬º┬ºconstant(28)] == _root[┬º┬ºconstant(6)][┬º┬ºconstant(29)] + _root[┬º┬ºconstant(6)][┬º┬ºconstant(30)] * this[┬º┬ºconstant(16)] && this[┬º┬ºconstant(31)] == _root[┬º┬ºconstant(6)][┬º┬ºconstant(32)] + _root[┬º┬ºconstant(6)][┬º┬ºconstant(33)] * this[┬º┬ºconstant(15)])
  140.             {
  141.                this[┬º┬ºconstant(25)] = false;
  142.                eval("\x02")[┬º┬ºconstant(13)] = false;
  143.                if(!_root[┬º┬ºconstant(6)][┬º┬ºconstant(39)])
  144.                {
  145.                   this[┬º┬ºconstant(35)]();
  146.                }
  147.             }
  148.          }
  149.       };
  150.       eval("\x01")["\x02"] = function()
  151.       {
  152.          super();
  153.          this[┬º┬ºconstant(5)](eval("\x04")[┬º┬ºconstant(4)],"\x03",2);
  154.          this[┬º┬ºconstant(9)](_root[┬º┬ºconstant(6)][this[┬º┬ºconstant(7)]][┬º┬ºconstant(8)]);
  155.       }[┬º┬ºconstant(13)] = false;
  156.       _loc2_[┬º┬ºconstant(25)] = false;
  157.       ┬º┬ºpush(┬º┬ºconstant(42)(eval("\x01")["\x02"][┬º┬ºconstant(11)],null,1));
  158.    }
  159.    ┬º┬ºpop();
  160. }
  161. else if(eval("\x01") == 18)
  162. {
  163.    set("\x01",eval("\x01") + 584);
  164. }
  165.